package com.meisupic.copyright.domain.po;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import lombok.Data;
import org.hibernate.annotations.CreationTimestamp;

/**
 * creation wuxun
 * @version V1.0
 * @Description: 实名认证审批流程记录
 * @date 2018/1/13 22:11
 */
@Data
@Entity
@Table(name = "copyright_realname_auth_audit_record")
public class RealNameAuthAuditRecord {

  @Id
  @GeneratedValue
  private Long id;

  @Column(name = "real_name_auth_id", length = 20, nullable = false)
  private Long realNameAuthId;

  /**
   * 审核结果
   */
  @Column(name = "process_result", length = 1, nullable = false)
  private Integer processResult;

  /**
   * 审核意见.
   */
  @Column(name = "process_comment")
  private String processComment;

  @Column(name = "create_time")
  @CreationTimestamp
  private Date createTime;
}
